﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

//Author: ljj
//Date: 20190710
//Function: 增加攻击力buff(可叠加) 增加effect点伤害
public class RepeatableAttackIncrease : RepeatableBuff
{
    public override void BuffUp()
    {
        //Debug.Log("damage + " + effect);
        gameObject.GetComponent<BattleObject>().damage += effect;
    }

    public override void BuffDown()
    {
        //Debug.Log("damage - " + effect);
        gameObject.GetComponent<BattleObject>().damage -= effect;
    }
}


